import Vue from "vue";
// 按需引入组件
// import { Button,Stepper } from "vant";
// import 'vant/lib/button/style';
// import 'vant/lib/stepper/style';

import { Search,Swipe, SwipeItem ,Grid, GridItem,Icon,Tag,List,Cell,DropdownMenu,DropdownItem,Tabbar,TabbarItem,Pagination, Image as VanImage,Empty ,CellGroup,Toast,Popup,Form,Field,Button,Dialog,GoodsAction,GoodsActionButton,GoodsActionIcon,Stepper,Sku,Checkbox, CheckboxGroup,Card,SubmitBar,SwipeCell } from 'vant';

// 注册组件
// Vue.use(Stepper);
// Vue.use(Button);
Vue.use(Search);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Grid);
Vue.use(GridItem);
Vue.use(Icon);
Vue.use(Tag);
Vue.use(List);
Vue.use(Cell);
Vue.use(DropdownMenu);
Vue.use(DropdownItem);
Vue.use(Tabbar);
Vue.use(TabbarItem);
Vue.use(Pagination);
Vue.use(VanImage);
Vue.use(Empty);
Vue.use(CellGroup);
Vue.use(Toast);
Vue.use(Popup);
Vue.use(Form);
Vue.use(Field);
Vue.use(Button);
Vue.use(Dialog);
Vue.use(GoodsAction);
Vue.use(GoodsActionButton);
Vue.use(GoodsActionIcon);
Vue.use(Stepper);
Vue.use(Sku);
Vue.use(Checkbox);
Vue.use(CheckboxGroup);
Vue.use(Card);
Vue.use(SubmitBar);
Vue.use(SwipeCell);